//
//  FilePathMode.h
//  DogeLegs
//
//  Created by 宋华 on 2017/8/17.
//  Copyright © 2017年 宋华. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FilePathMode : NSObject

+ (NSString *)getFilePathWithModelKey:(NSString *)modelkey;

+ (NSString *)getNoteDraftFile;

+ (NSString *)getNoteDraftUploadImgFilePath;

+ (NSString *)getNoteDraftDisplayImgFilePath;
/*
 * 根据dbName和当前的userid获取数据库路径
 */
+ (NSString *)getDBPath:(NSString *)dbName;

+ (NSString *)localDocumentPath;
//根据聊天的对象生成语音的存放路径
+ (NSString *)getChatVoicePath:(NSString *)toFriendid;
//根据聊天的对象生成图片的存放路径
+ (NSString *)getChatImagePath:(NSString *)toFriendid;

+ (BOOL)createFileDirectory:(NSString *)imageDir;

+ (BOOL)deleteFileDirectory:(NSString *)path;

//录音时生成语音文件名
+ (NSString*)createVoiceFile:(NSString *)friendid;

//选择图片时生成图片文件名
+ (NSString*)creatImageFile:(NSString *)friendid;

+ (NSString *)thumbPath:(NSString *)path;


#pragma mark - 转换方法
/**
 *  @brief 获取相对路径
 *  @param storeId  导购Id
 *  @param chatMessage 聊天信息结构体
 */
+(NSString *)getRelativePathWithMsgID:(NSString *)msgID path:(NSString *)path messageBodyType:(ChatMsgBodyType)mType;





@end
